package com.meihuak.cloud_ordering.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderTable {
    @TableId(type = IdType.AUTO)private Long id;//订单号
    private Integer stuId;//学生id
    private Integer businessId;//商家id
    private Integer flag;//订单状态
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private java.util.Date createDate;//下单日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private java.util.Date finishDate;//完成日期
    private Double price;
    private String beizhu;
}
